Lesson 8 Exercise: Creating and Editing a Model View

Objective

In a model view you can display the entire model or selected portions, such as varying levels of detail or information that is only important to a particular audience. Search results can also be displayed in a model view. In this exercise you will learn how to create multiple views of a model.

Try to complete the following steps on your own. If you need help, click the step to jump to a set of more detailed steps.

1	Start METIS and Create Exercise Model

Create a new model called MyExerciseL8 based on the Training template.

2	Insert New Model View

Rename the Untitled model view to Main; create a new model view and name it P2010.

3	Build New Model View

You want to display the product P2010 and all requirements connected to it in their respective containers in the new model view. Copy and paste views of the Products and Requirements containers into the P2010 model view; delete views of the products P2020 and P3050; delete any requirements not related to product P2010; Perform Layout on both containers.

4	Change Symbol of Object View

Change the symbol for the object view of product P2010 to the Machine symbol from the symbol Machine in the GEM Symbols symbol palette.

5	Create New Object

In the Requirements container, create a new requirement named REQ931.

6	Remove Model View

Remove the model view P2010 from the model; note that the requirement REQ931 remains in the Object tree.

7	Create Model View Using a Search

Using predefined GEM criteria Find All Neighbors, perform a search to find all products related to requirement REQ147; place search results in a new model view.

8	Save the Model and Close METIS

9	Practice on Your Own (Optional)

Start METIS and Create Exercise Model

Complete the following steps to start METIS and create a new model file based on an example template:

1	Minimize your web browser and any other application you have open (except this window) to see your desktop.

2	Double-click the METIS icon [image] to launch METIS.

3	In the dialog box, click the Model From Template option.

4	In the template list, click Training, then click OK.

5	In the file dialog box, enter MyExerciseL8 for the filename and click Save.

6	Position this Exercise window so that you have a good view of the modeling window.

Insert New Model View

Complete the following steps to insert a new model view:

1	Right-click the Untitled model view tab and choose Properties.…

2	Replace Untitled with a new title, Main. Click OK.

3	Right-click the Main model view tab and choose Insert.

4	Right-click the new model view tab and choose Properties….

5	In the dialog box, change the title to P2010. Click OK.

Build New Model View

In the new model view, show product P2010 and its requirements by copying and editing views of the Products and Requirements containers from the Main model view as follows:

1	Click the model view tab Main.

2	Select the Products and Requirements containers and click the Copy tool [image].

3	Click the model view tab P2010.

4	Right-click on the model view background, point to Paste View and click Paste Duplicate View.

5	Click the Zoom All tool [image] (or use the shortcut Ctrl+L).

6	Select products P2020 and P3050, click the Edit menu and choose Delete View. Click OK in the Confirm Delete window.

7	Repeat previous step to remove the requirement that is not related to product P2010 or one of its child objects.

8	Right-click on the Products container, point to Layout, and click Perform Layout.

9	Repeat previous step to lay out the Requirements container.

Example

Change Symbol of Object View

Change the symbol for the object view of product P2010 as follows:

1	Click the Symbol tab in the left pane of the METIS window.

2	In the Symbol tree that displays, locate the GEM Symbols symbol palette and select it to load it into METIS.

3	Click the + icon next to the palette to display the symbols in the Symbol tree, find the symbol Machine and select it.

4	Drag the symbol Machine from the symbol preview area and drop it onto the product P2010.

5	Click on the model view tab Main and note that the symbol for product P2010 remains unchanged.

Example

Create New Object

Create a new requirement object in the new model view as follows:

1	Click on the model view tab P2010.

2	Click the Domain tab and expand the Requirement domain.

3	Drag the Requirement object type from the Domain tree and drop it onto the Requirements container.

4	In the Name field of the property dialog box, type REQ931 and click OK.

5	Right-click the Requirements container, point to Layout, and click Perform Layout.

Example

Remove Model View

Remove the P2010 model view from the model as follows:

1	Right-click the model view tab P2010 and choose Delete. Click OK in the Confirm Delete window.

2	In the left pane of the METIS window, click the Object tab; note that requirement REQ931 still exists in the model, even though the model view it was created in has been removed.

Create Model View Using a Search

Search the model view for all products related to a given requirement and place the results in a new model view, as described in the following steps:

1	Select the Zoom All tool [image] (or use the shortcut Ctrl+L).

2	Click the Domain tab in the left pane; expand the Modeling domain and Criteria.

3	Drag the criteria Find All Neighbors from the Domain tree and drop it on requirement REQ147.

4	In the menu that pops up, select Create Model View.

5	Select the Zoom All tool [image] again to center the containers in the model view.

Example

Save the Model and Close METIS

Complete the following steps to complete the lesson:

1	From the File menu, click Save.

2	From the File menu, click Exit.

3	Close this window and maximize your browser to continue with the course.

Practice on Your Own (Optional)


Practice on Your Own (Optional)

•	Create a new model view that focuses on the Production department. Remove all objects not directly related to the Production department.

•	Practice performing searches in this model and placing the results in a new model view.


 New Model View

Back to Exercise


Change Symbol of Object View

Products Container in P2010 Model View

Products Container in Main Model View

Back to Exercise


Create New Object

Back to Exercise


Search Results in New Model View

Back to Exercise